<?php defined('BASE_PATH') or die('No direct script access.');
Class indexController Extends FE_Controller{
    protected $registry;
    function __construct($registry) {
        parent::__construct($registry);
    }
    public function index() {
        //$this->load->model('index/Mindex');
        //$this->Mindex->index();
        $this->template->write('title', 'Welcome to GIALAC SOURCE HMVC');
        /** Nạp template ** */
        // loop over the array object and echo variables and values
        //$this->registry->template->view('left', 'index');
        #render để hoàn tất load template
        $this->template->render();
    }
}

?>
